#cs ----------------------------------------------------------------------------

 AutoIt Version: 3.3.8.1
 Author:         myName

 Script Function:
	Template AutoIt script.

#ce ----------------------------------------------------------------------------


Func simple_travel($pos)
   Switch $substep[$pos]
	  Case 0
		 If Not $stepdata[$pos] Then
			$stepdata[$pos] = 1
		 EndIf
		 $substep[$pos] += 1
	  Case 1
		 $stepdata[$pos] += 1
		 message($pos,$stepdata[$pos])
		 If $stepdata[$pos] > input($pos) Then
			StopWork($pos,"move done " & input($pos))
		 EndIf
		 Return False
   EndSwitch
   Return True
EndFunc
